package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * OSS存储对象 user_oss_task
 * 
 * @author ruoyi
 * @date 2024-12-09
 */
public class UserOssTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private Long taskid;

    /** 源任务换脸完成的url */
    @Excel(name = "源任务换脸完成的url")
    private String videoUrl;

    /** 存储的OSS链接 */
    @Excel(name = "存储的OSS链接")
    private String ossurl;

    /** 异步线程id */
    @Excel(name = "异步线程id")
    private String asyncid;

    /** 执行状态，默认值fail，最终值Succeeded */
    @Excel(name = "执行状态，默认值fail，最终值Succeeded")
    private String status;

    /** 重试次数 */
    @Excel(name = "重试次数")
    private String retry;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setTaskid(Long taskid) 
    {
        this.taskid = taskid;
    }

    public Long getTaskid() 
    {
        return taskid;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setOssurl(String ossurl) 
    {
        this.ossurl = ossurl;
    }

    public String getOssurl() 
    {
        return ossurl;
    }
    public void setAsyncid(String asyncid) 
    {
        this.asyncid = asyncid;
    }

    public String getAsyncid() 
    {
        return asyncid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRetry(String retry) 
    {
        this.retry = retry;
    }

    public String getRetry() 
    {
        return retry;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("uid", getUid())
            .append("taskid", getTaskid())
            .append("videoUrl", getVideoUrl())
            .append("ossurl", getOssurl())
            .append("asyncid", getAsyncid())
            .append("status", getStatus())
            .append("retry", getRetry())
            .toString();
    }
}
